<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Dashboard Template for Bootstrap</title>
    <!-- Bootstrap core CSS -->
    <link href='../node_modules/bootstrap/dist/css/bootstrap.min.css' rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="../public/css/dashboard.css" rel="stylesheet">
</head>

<body>
    <h3>添加学生信息</h3>
    <form action="/students/new" method="POST">
        <div class="form-group">
            <label for="exampleInputEmail1">姓名</label>
            <input type="text" class="form-control" id="" name='name'>
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">年龄</label>
            <input type="number" class="form-control" id='' name="age">
        </div>
        <div class="form-group">
            <label for="exampleInputFile"> 性别</label>
            <div>
                <label class="radio-inline">
                    <input type="radio" name="gentor" id=""  value="0"> 男
                  </label>
                  <label class="radio-inline">
                    <input type="radio" name="gentor" id=""  value="1"> 女
                  </label>
            </div>
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">爱好</label>
            <input type="text" class="form-control" id='' name="hobbies">
        </div>
        <button type="submit" class="btn btn-success">Submit</button>
    </form>
</body>

</html>